/* eslint-disable */
// @ts-ignore
import request from '@/utils/http';

import * as API from './types';

/** 查询游客行为记录详情信息 GET /scenic/touristUserBehavior/getById */
export async function scenicTouristUserBehaviorGetByIdUsingGet({
  params,
  options,
}: {
  // 叠加生成的Param类型 (非body参数openapi默认没有生成对象)
  params: API.scenicTouristUserBehaviorGetByIdUsingGetParams;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingyonghuxingweijilubiaovo>(
    '/scenic/touristUserBehavior/getById',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}

/** 分页查询游客行为记录表 POST /scenic/touristUserBehavior/page */
export async function scenicTouristUserBehaviorPageUsingPost({
  body,
  options,
}: {
  body: API.TouristUserBehaviorBo776a0342A4134fcbB2f3101e82f14ef6;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingPageDataVoyonghuxingweijilubiaovo>(
    '/scenic/touristUserBehavior/page',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
